.class Lcom/instagram/android/d/g/k;
.super Lcom/instagram/android/d/k/o;
.source "SuggestionsUserListRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/k/o",
        "<",
        "Lcom/instagram/android/d/g/m;",
        ">;"
    }
.end annotation


# instance fields
.field private a:Lcom/instagram/android/d/g/m;


# direct methods
.method private constructor <init>()V
    .locals 1

    .prologue
    .line 39
    invoke-direct {p0}, Lcom/instagram/android/d/k/o;-><init>()V

    .line 42
    new-instance v0, Lcom/instagram/android/d/g/m;

    invoke-direct {v0}, Lcom/instagram/android/d/g/m;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/d/g/k;->a:Lcom/instagram/android/d/g/m;

    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/android/d/g/j;)V
    .locals 0
    .parameter

    .prologue
    .line 39
    invoke-direct {p0}, Lcom/instagram/android/d/g/k;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Lcom/instagram/android/d/g/m;
    .locals 1

    .prologue
    .line 85
    iget-object v0, p0, Lcom/instagram/android/d/g/k;->a:Lcom/instagram/android/d/g/m;

    return-object v0
.end method

.method public a(Lcom/fasterxml/jackson/a/l;)Z
    .locals 8
    .parameter

    .prologue
    const/4 v0, 0x0

    .line 47
    :try_start_0
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v1

    .line 48
    const-string v2, "recent_recipients"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 49
    new-instance v1, Ljava/util/HashSet;

    invoke-direct {v1}, Ljava/util/HashSet;-><init>()V

    .line 50
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->d:Lcom/fasterxml/jackson/a/r;

    if-ne v2, v3, :cond_5

    .line 51
    :cond_0
    :goto_0
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->e:Lcom/fasterxml/jackson/a/r;

    if-eq v2, v3, :cond_5

    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    if-eqz v2, :cond_5

    .line 53
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v2

    .line 54
    const-string v3, "users"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 55
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->d:Lcom/fasterxml/jackson/a/r;

    if-ne v2, v3, :cond_0

    .line 56
    :cond_1
    :goto_1
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->e:Lcom/fasterxml/jackson/a/r;

    if-eq v2, v3, :cond_0

    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 58
    invoke-static {p1}, Lcom/instagram/android/model/b/l;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/android/model/b/e;

    move-result-object v2

    .line 59
    if-eqz v2, :cond_1

    invoke-interface {v1, v2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 60
    iget-object v3, p0, Lcom/instagram/android/d/g/k;->a:Lcom/instagram/android/d/g/m;

    invoke-virtual {v3}, Lcom/instagram/android/d/g/m;->a()Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    .line 77
    :catch_0
    move-exception v1

    .line 78
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    const-string v3, "Parse error"

    invoke-static {v2, v3, v1}, Lcom/facebook/e/a/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 79
    :cond_2
    :goto_2
    return v0

    .line 64
    :cond_3
    if-eqz v2, :cond_0

    .line 65
    :try_start_1
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->skipChildren()Lcom/fasterxml/jackson/a/l;

    goto :goto_0

    .line 69
    :cond_4
    const-string v2, "expiration_interval"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 70
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 72
    iget-object v1, p0, Lcom/instagram/android/d/g/k;->a:Lcom/instagram/android/d/g/m;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getLongValue()J

    move-result-wide v4

    const-wide/16 v6, 0x3e8

    mul-long/2addr v4, v6

    add-long/2addr v2, v4

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/g/m;->a(J)V
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0

    .line 76
    :cond_5
    const/4 v0, 0x1

    goto :goto_2
.end method

.method public synthetic b()Ljava/lang/Object;
    .locals 1

    .prologue
    .line 39
    invoke-virtual {p0}, Lcom/instagram/android/d/g/k;->a()Lcom/instagram/android/d/g/m;

    move-result-object v0

    return-object v0
.end method
